package com.qfedu.dao;

import com.qfedu.entity.Vip;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface VipDao {

    @Select("select * from t_vip")
    List<Vip> queryVip();

    @Insert("insert into t_vip (content,u_no) values(#{content},#{u_no})")
    int addVip(Vip vip);
}
